package com.fruits.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.jfinal.core.Controller;

public class FromWxPlatController extends Controller {
	static Logger logger = LoggerFactory.getLogger(FromWxPlatController.class);

	public void accept() {
		acceptFromWx();
	}

	// 跳转controller
	private void acceptFromWx() {
		String ctr = getPara("ctr");
		String act = getPara("act");
		forwardAction("/mobile/" + ctr + "/" + act);
	}

}
